package com.zhentao.service;


import com.zhentao.pojo.WmNews;


/**
 * @Date 2024/3/6 16:50
 * @Author xdm
 **/

public interface WmNewsTaskService {
    /**
     * 添加任务到延迟队列中
     */
    public void addNewsToTask(WmNews wmNews);
    /**
     * 消费延迟队列数据
     */
    public void scanNewsByTask() throws Exception;
}
